package com.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class UIController {

    // 首页跳转
    @GetMapping("/home")
    public String home() {
        return "redirect:/home.html";
    }

    // AI助手页面跳转
    @GetMapping("/ai")
    public String aiAssistant() {
        return "redirect:/AI.html";
    }
}